
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-alarm"></i>
                    <div class="name">alarm</div>
                    <div class="fontclass">.icon-alarm</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrowdown"></i>
                    <div class="name">arrow-down</div>
                    <div class="fontclass">.icon-arrowdown</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrowdowncircle"></i>
                    <div class="name">arrow-down-circle</div>
                    <div class="fontclass">.icon-arrowdowncircle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrowleft"></i>
                    <div class="name">arrow-left</div>
                    <div class="fontclass">.icon-arrowleft</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrowleftcircle"></i>
                    <div class="name">arrow-left-circle</div>
                    <div class="fontclass">.icon-arrowleftcircle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrowright"></i>
                    <div class="name">arrow-right</div>
                    <div class="fontclass">.icon-arrowright</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrowrightcircle"></i>
                    <div class="name">arrow-right-circle</div>
                    <div class="fontclass">.icon-arrowrightcircle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrowup"></i>
                    <div class="name">arrow-up</div>
                    <div class="fontclass">.icon-arrowup</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrowupcircle"></i>
                    <div class="name">arrow-up-circle</div>
                    <div class="fontclass">.icon-arrowupcircle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bicycle"></i>
                    <div class="name">bicycle</div>
                    <div class="fontclass">.icon-bicycle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-book"></i>
                    <div class="name">book</div>
                    <div class="fontclass">.icon-book</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bookmark"></i>
                    <div class="name">bookmark</div>
                    <div class="fontclass">.icon-bookmark</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-briefcase"></i>
                    <div class="name">briefcase</div>
                    <div class="fontclass">.icon-briefcase</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bubble"></i>
                    <div class="name">bubble</div>
                    <div class="fontclass">.icon-bubble</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bus"></i>
                    <div class="name">bus</div>
                    <div class="fontclass">.icon-bus</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-calendarfull"></i>
                    <div class="name">calendar-full</div>
                    <div class="fontclass">.icon-calendarfull</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-camera"></i>
                    <div class="name">camera</div>
                    <div class="fontclass">.icon-camera</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cameravideo"></i>
                    <div class="name">camera-video</div>
                    <div class="fontclass">.icon-cameravideo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-car"></i>
                    <div class="name">car</div>
                    <div class="fontclass">.icon-car</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cart"></i>
                    <div class="name">cart</div>
                    <div class="fontclass">.icon-cart</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chartbars"></i>
                    <div class="name">chart-bars</div>
                    <div class="fontclass">.icon-chartbars</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-checkmarkcircle"></i>
                    <div class="name">checkmark-circle</div>
                    <div class="fontclass">.icon-checkmarkcircle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chevrondown"></i>
                    <div class="name">chevron-down</div>
                    <div class="fontclass">.icon-chevrondown</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chevrondowncircle"></i>
                    <div class="name">chevron-down-circle</div>
                    <div class="fontclass">.icon-chevrondowncircle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chevronleft"></i>
                    <div class="name">chevron-left</div>
                    <div class="fontclass">.icon-chevronleft</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chevronleftcircle"></i>
                    <div class="name">chevron-left-circle</div>
                    <div class="fontclass">.icon-chevronleftcircle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chevronright"></i>
                    <div class="name">chevron-right</div>
                    <div class="fontclass">.icon-chevronright</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chevronrightcircle"></i>
                    <div class="name">chevron-right-circle</div>
                    <div class="fontclass">.icon-chevronrightcircle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chevronup"></i>
                    <div class="name">chevron-up</div>
                    <div class="fontclass">.icon-chevronup</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chevronupcircle"></i>
                    <div class="name">chevron-up-circle</div>
                    <div class="fontclass">.icon-chevronupcircle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-code"></i>
                    <div class="name">code</div>
                    <div class="fontclass">.icon-code</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cog"></i>
                    <div class="name">cog</div>
                    <div class="fontclass">.icon-cog</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cross"></i>
                    <div class="name">cross</div>
                    <div class="fontclass">.icon-cross</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-crosscircle"></i>
                    <div class="name">cross-circle</div>
                    <div class="fontclass">.icon-crosscircle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-download"></i>
                    <div class="name">download</div>
                    <div class="fontclass">.icon-download</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-enter"></i>
                    <div class="name">enter</div>
                    <div class="fontclass">.icon-enter</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-envelope"></i>
                    <div class="name">envelope</div>
                    <div class="fontclass">.icon-envelope</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-exitup"></i>
                    <div class="name">exit-up</div>
                    <div class="fontclass">.icon-exitup</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-eye"></i>
                    <div class="name">eye</div>
                    <div class="fontclass">.icon-eye</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fileadd"></i>
                    <div class="name">file-add</div>
                    <div class="fontclass">.icon-fileadd</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fileempty"></i>
                    <div class="name">file-empty</div>
                    <div class="fontclass">.icon-fileempty</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-filmplay"></i>
                    <div class="name">film-play</div>
                    <div class="fontclass">.icon-filmplay</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-flag"></i>
                    <div class="name">flag</div>
                    <div class="fontclass">.icon-flag</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-heart"></i>
                    <div class="name">heart</div>
                    <div class="fontclass">.icon-heart</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-hourglass"></i>
                    <div class="name">hourglass</div>
                    <div class="fontclass">.icon-hourglass</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-menu"></i>
                    <div class="name">menu</div>
                    <div class="fontclass">.icon-menu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-indentincrease"></i>
                    <div class="name">indent-increase</div>
                    <div class="fontclass">.icon-indentincrease</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-italic"></i>
                    <div class="name">italic</div>
                    <div class="fontclass">.icon-italic</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-keyboard"></i>
                    <div class="name">keyboard</div>
                    <div class="fontclass">.icon-keyboard</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-laptop"></i>
                    <div class="name">laptop</div>
                    <div class="fontclass">.icon-laptop</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-laptopphone"></i>
                    <div class="name">laptop-phone</div>
                    <div class="fontclass">.icon-laptopphone</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-license"></i>
                    <div class="name">license</div>
                    <div class="fontclass">.icon-license</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-linespacing"></i>
                    <div class="name">line-spacing</div>
                    <div class="fontclass">.icon-linespacing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-link"></i>
                    <div class="name">link</div>
                    <div class="fontclass">.icon-link</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list"></i>
                    <div class="name">list</div>
                    <div class="fontclass">.icon-list</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-location"></i>
                    <div class="name">location</div>
                    <div class="fontclass">.icon-location</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lock"></i>
                    <div class="name">lock</div>
                    <div class="fontclass">.icon-lock</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-magicwand"></i>
                    <div class="name">magic-wand</div>
                    <div class="fontclass">.icon-magicwand</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-magnifier"></i>
                    <div class="name">magnifier</div>
                    <div class="fontclass">.icon-magnifier</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-map"></i>
                    <div class="name">map</div>
                    <div class="fontclass">.icon-map</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-mapmarker"></i>
                    <div class="name">map-marker</div>
                    <div class="fontclass">.icon-mapmarker</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-mic"></i>
                    <div class="name">mic</div>
                    <div class="fontclass">.icon-mic</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-moon"></i>
                    <div class="name">moon</div>
                    <div class="fontclass">.icon-moon</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-musicnote"></i>
                    <div class="name">music-note</div>
                    <div class="fontclass">.icon-musicnote</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-neutral"></i>
                    <div class="name">neutral</div>
                    <div class="fontclass">.icon-neutral</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-paperclip"></i>
                    <div class="name">paperclip</div>
                    <div class="fontclass">.icon-paperclip</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-paw"></i>
                    <div class="name">paw</div>
                    <div class="fontclass">.icon-paw</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pencil"></i>
                    <div class="name">pencil</div>
                    <div class="fontclass">.icon-pencil</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-phone"></i>
                    <div class="name">phone</div>
                    <div class="fontclass">.icon-phone</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-phonehandset"></i>
                    <div class="name">phone-handset</div>
                    <div class="fontclass">.icon-phonehandset</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-picture"></i>
                    <div class="name">picture</div>
                    <div class="fontclass">.icon-picture</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-piechart"></i>
                    <div class="name">pie-chart</div>
                    <div class="fontclass">.icon-piechart</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pluscircle"></i>
                    <div class="name">plus-circle</div>
                    <div class="fontclass">.icon-pluscircle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-powerswitch"></i>
                    <div class="name">power-switch</div>
                    <div class="fontclass">.icon-powerswitch</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-printer"></i>
                    <div class="name">printer</div>
                    <div class="fontclass">.icon-printer</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pushpin"></i>
                    <div class="name">pushpin</div>
                    <div class="fontclass">.icon-pushpin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-questioncircle"></i>
                    <div class="name">question-circle</div>
                    <div class="fontclass">.icon-questioncircle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-redo"></i>
                    <div class="name">redo</div>
                    <div class="fontclass">.icon-redo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-rocket"></i>
                    <div class="name">rocket</div>
                    <div class="fontclass">.icon-rocket</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sad"></i>
                    <div class="name">sad</div>
                    <div class="fontclass">.icon-sad</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-screen"></i>
                    <div class="name">screen</div>
                    <div class="fontclass">.icon-screen</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-smartphone"></i>
                    <div class="name">smartphone</div>
                    <div class="fontclass">.icon-smartphone</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-smile"></i>
                    <div class="name">smile</div>
                    <div class="fontclass">.icon-smile</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-star"></i>
                    <div class="name">star</div>
                    <div class="fontclass">.icon-star</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-starempty"></i>
                    <div class="name">star-empty</div>
                    <div class="fontclass">.icon-starempty</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-unlink"></i>
                    <div class="name">unlink</div>
                    <div class="fontclass">.icon-unlink</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-store"></i>
                    <div class="name">store</div>
                    <div class="fontclass">.icon-store</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sun"></i>
                    <div class="name">sun</div>
                    <div class="fontclass">.icon-sun</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sync"></i>
                    <div class="name">sync</div>
                    <div class="fontclass">.icon-sync</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tablet"></i>
                    <div class="name">tablet</div>
                    <div class="fontclass">.icon-tablet</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tag"></i>
                    <div class="name">tag</div>
                    <div class="fontclass">.icon-tag</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-thumbsdown"></i>
                    <div class="name">thumbs-down</div>
                    <div class="fontclass">.icon-thumbsdown</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-thumbsup"></i>
                    <div class="name">thumbs-up</div>
                    <div class="fontclass">.icon-thumbsup</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-trash"></i>
                    <div class="name">trash</div>
                    <div class="fontclass">.icon-trash</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-undo"></i>
                    <div class="name">undo</div>
                    <div class="fontclass">.icon-undo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-upload"></i>
                    <div class="name">upload</div>
                    <div class="fontclass">.icon-upload</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user"></i>
                    <div class="name">user</div>
                    <div class="fontclass">.icon-user</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-volume"></i>
                    <div class="name">volume</div>
                    <div class="fontclass">.icon-volume</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-volumemedium"></i>
                    <div class="name">volume-medium</div>
                    <div class="fontclass">.icon-volumemedium</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-warning"></i>
                    <div class="name">warning</div>
                    <div class="fontclass">.icon-warning</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
